package priv.mill.autoScanxml;
import java.util.Date;

import org.apache.log4j.Logger;

public class Vcd {
	
	private static final Logger logger = Logger.getLogger(Vcd.class);
	
	public void play(){
		String string = String.format("名称：%s；价格：%s；发行日期：%s；", 
				name,prisce,faxingDate.toString()
				);//name+"播放周杰伦的VCD专辑,价格："+prisce;
		logger.debug(string);
	}
	
	private String name;
	private int prisce;
	
	

	public Vcd() {
	}

	public Vcd(String name,int prisce) {
		this.name = name;
		this.prisce=prisce;
	}

	public String getName() {
		return name;
	}

	private Date faxingDate;
	
	
	
	public Date getFaxingDate() {
		return faxingDate;
	}

	public void setFaxingDate(Date faxingDate) {
		this.faxingDate = faxingDate;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getPrisce() {
		return prisce;
	}

	public void setPrisce(int prisce) {
		this.prisce = prisce;
	}
	
	
	
}
